<template>
    <div v-if="qyjn">
        <AllAreaIndex></AllAreaIndex>
    </div>
    <div v-else>
        <moneyIndex></moneyIndex>
    </div>
</template>

<script>
import AllAreaIndex from "./AllAreaIndex"
import moneyIndex from "./moneyIndex"
export default {
    name: "warnCenter",
    components: {AllAreaIndex, moneyIndex},
    data() {
        return {
            qyjn: false
        }
    },
    created() {
        this.qyjn = sessionStorage.getItem("systemName") == "全域节能协同管理系统"
    },
    mounted() {},
    destroyed() {},
    methods: {}
}
</script>

<style scoped>
</style>
